KimaAI\Admin\Settings D

Total Complexity 221
Dependencies 1
Dependents 7
Total lines 1,052
Lines of code 678
Logical lines of code 380
Comment lines 238
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
sanitizeAgainstSchema()
D
34 39 83
deepPruneToSchema()
B
46 20 37
sanitizeProperty()
A
45 16 41
splitNode()
A
44 14 47
filterSchemaForRest()
A
45 12 43
getOptionFrom()
A
51 13 27
getOption()
A
51 12 27
buildDefaults()
A
50 11 29
mergePreservingLists()
A
54 10 20
sanitizeOptionsGeneric()
A
50 9 28
getSchema()
A
46 8 37
addNodeToExtra()
S
53 7 23
sanitizeOptions()
S
53 7 22
schemaFingerprint()
S
53 7 21
aiProviderModelOptions()
S
44 5 50
upgradeOption()
S
58 6 15
deepFillDefaults()
S
60 6 13
getAiEnvsOptions()
S
52 4 26
registerSettings()
S
47 3 40
sanitizeGroup()
S
60 4 13
maybeUpgradeOnSchemaChange()
S
61 3 12
splitSchemaBySaveKey()
S
67 2 7
__construct()
S
79 1 3
getStaticOption()
S
74 1 4
flattenArray()
S
65 1 10